Optimal. Leaf size=29 \[ -\frac{\log (a+b x)}{a^2}+\frac{\log (x)}{a^2}+\frac{1}{a (a+b x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.014131, antiderivative size = 29, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091, Rules used = {44} \[ -\frac{\log (a+b x)}{a^2}+\frac{\log (x)}{a^2}+\frac{1}{a (a+b x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rubi steps
\begin{align*} \int \frac{1}{x (a+b x)^2} \, dx &=\int \left (\frac{1}{a^2 x}-\frac{b}{a (a+b x)^2}-\frac{b}{a^2 (a+b x)}\right ) \, dx\\ &=\frac{1}{a (a+b x)}+\frac{\log (x)}{a^2}-\frac{\log (a+b x)}{a^2}\\ \end{align*}
Mathematica [A] time = 0.014973, size = 24, normalized size = 0.83 \[ \frac{\frac{a}{a+b x}-\log (a+b x)+\log (x)}{a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 30, normalized size = 1. \begin{align*}{\frac{1}{a \left ( bx+a \right ) }}+{\frac{\ln \left ( x \right ) }{{a}^{2}}}-{\frac{\ln \left ( bx+a \right ) }{{a}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.05159, size = 38, normalized size = 1.31 \begin{align*} \frac{1}{a b x + a^{2}} - \frac{\log \left (b x + a\right )}{a^{2}} + \frac{\log \left (x\right )}{a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.39837, size = 89, normalized size = 3.07 \begin{align*} -\frac{{\left (b x + a\right )} \log \left (b x + a\right ) -{\left (b x + a\right )} \log \left (x\right ) - a}{a^{2} b x + a^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.519681, size = 22, normalized size = 0.76 \begin{align*} \frac{1}{a^{2} + a b x} + \frac{\log{\left (x \right )} - \log{\left (\frac{a}{b} + x \right )}}{a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.17666, size = 51, normalized size = 1.76 \begin{align*} b{\left (\frac{\log \left ({\left | -\frac{a}{b x + a} + 1 \right |}\right )}{a^{2} b} + \frac{1}{{\left (b x + a\right )} a b}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]